<!DOCTYPE html>
<html>
<head>
	<title>问卷管理列表</title>
	<!--#include file="/html/common/head.html"-->
</head>
<body>
	<!--#include file="/html/common/header.html"-->
    <div class="page clearfix">
        <div class="holder">
            <div class="container">
                <div class="row">
                    <div class="col-sm-12">
                        <ol class="breadcrumb">
                            <li>
                                <a href="#"><i class="fa fa-home"></i>&nbsp;首页</a>
                            </li>
                            <li>
                                <a href="#">问卷管理</a>
                            </li> 
                            <li class="active">问卷列表</li>
                        </ol>
                        <!-- <input type="hidden" class="pageDataCount" value="10"> -->
                    </div>
                    <div class="col-sm-12">
                        <div class="panel panel-info">
                            <div class="panel-heading">
                                <h4>问卷查询</h4>
                            </div>
                            <div class="panel-body">
                                <form class="form-horizontal J_searchForm">
                                    <div class="form-group">
                                        <label class="col-sm-1 control-label">问卷标题</label>
                                        <div class="col-sm-2">
                                            <input class="form-control J_checkName w200" name="title"></input>
                                        </div>
                                        <label class="col-sm-2 control-label">发布人</label>
                                        <div class="col-sm-2">
                                            <input id="editable-select2" class="form-control J_selectPublisher w200" name="owner"></input>
                                        </div>
                                        
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-1 control-label">问卷状态</label>
                                        <div class="col-sm-2">
                                            <select id="editable-select3" class="form-control J_selectState w200" name="state">
                                                <option value="-1">请选择</option>
                                                <option value="0">进行中</option>
                                                <option value="1">已结束</option>
                                            </select>
                                        </div>
                                        <label class="col-sm-2 control-label">发布时间</label>
                                        <div class="col-sm-7">
                                            <input id="start" type="text" name="startTime" readonly="readonly" class="Wdate  w200"   onclick="WdatePicker({maxDate: '#F{$dp.$D(\'end\')}', dateFmt: 'yyyy-MM-dd HH:mm' })"/>
                                            <span class="to">~</span> 
                                            <input id="end" type="text" name="endTime"  readonly="readonly"  class="Wdate  w200"onclick="WdatePicker({minDate: '#F{$dp.$D(\'start\')}', dateFmt: 'yyyy-MM-dd HH:mm' })"/>
                                        </div>
                                    </div>
                                    <div class="col-sm-12 margin-bottom-10 margin-top--10 padding-left" align="left">
                                            <a href="#" class="btn btn-success  btn-radius-no J_search"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                            <a href="#" class="btn btn-success margin-left-15 btn-radius-no J_addCheck"><i class="fa fa-plus"></i>&nbsp;新增</a>
                                            <a href="#" class="btn btn-success margin-left-15 btn-radius-no J_allDel"><i class="fa fa-trash-o"></i>&nbsp;批量删除</a>
                                            <a href="#" class="btn btn-success margin-left-15 btn-radius-no J_allDown"><i class="fa fa-download"></i>&nbsp;批量导出</a>
                                            <!-- <a href="#" class="btn btn-success margin-left-15 btn-radius-no J_background" data-toggle="modal" data-target="#backgroundDialog"><i class="fa fa-level-up"></i>&nbsp;上传背景图</a> -->
                                    </div>
                                </form>
                                <div class="table-responsive col-sm-12">

                                    <table class="J_table table table-hover table-bordered">
                                            <thead>
                                                <tr>
                                                    <th class="slectAll"><input type="checkbox" class="J_selectAll"/></th>
                                                    <th>序号</th>
                                                    <th>问卷标题</th>
                                                    <th>发布人</th>
                                                    <th>参与人数</th>
                                                    <th>状态</th>
                                                    <th>发布时间</th>
                                                    <th>截止时间</th>
                                                    <th>操作</th>
                                                </tr>
                                            </thead>   
                                            <tbody id="J_template">
                                            </tbody>     
                                    </table>

                                    <div class="pull-right">
                                        <nav aria-label="Page navigation">
                                            <ul class="pagination" id="pageLimit">
                                                <li>
                                                    <a href="#" aria-label="Previous">
                                                    <span aria-hidden="true">&laquo;</span>
                                                    </a>
                                                </li>
                                                <li class="active"><a href="#">1</a></li>
                                                <li><a href="#">2</a></li>
                                                <li><a href="#">3</a></li>
                                                <li><a href="#">4</a></li>
                                                <li><a href="#">5</a></li>
                                                <li>
                                                    <a href="#" aria-label="Next">
                                                        <span aria-hidden="true">&raquo;</span>
                                                    </a>
                                                </li>
                                            </ul>
                                        </nav>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                      
                </div>
            </div>
        </div>
        <!-- 上传背景图对话框 -->
        <!-- <div class="modal fade" id="backgroundDialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" >上传背景图</h4>
                    </div>
                    <div class="modal-body">
                        <form action="" class="form-horizontal">
                            <input type="file" name="pictureToUpload" id="pictureToUpload" size="300" style="width:300px">
                            <br>
                            <div id="loadingDiv">
                            </div>
                            <input type="button" name="btnUpload" class="J_pictureImport" value="上 传" id="pictureImport" style="width:60px" />
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-success" data-dismiss="modal">确定</button>
                    </div>
                </div>
            </div>
        </div> -->
    <!--#include file="/html/common/footer.html"-->
    <script src="/js/tool/calendar/WdatePicker.js"></script>
    <script src="/js/questionnaire-management/questionnaire-management-list.js"></script>
     <script src="/js/tool/ajaxfileupload.js"></script>
</body>
</html>